package com.xmall.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.auth.entity.SysRolePermissionRelation;

/**
 * <p>
 * 后台用户角色和权限关系表 服务类
 * </p>
 *
 * @author liuzh
 * @since 2020-06-14
 */
public interface ISysRolePermissionRelationService extends IService<SysRolePermissionRelation> {
        boolean saveSysRolePermissionRelation(SysRolePermissionRelation sysRolePermissionRelation);

        boolean updateSysRolePermissionRelation(Long id, SysRolePermissionRelation sysRolePermissionRelation) ;

        boolean deleteSysRolePermissionRelation(Long id);

        SysRolePermissionRelation getSysRolePermissionRelation(Long id);
}
